package com.mzj.saas.mservice.bill.entity;


import javax.persistence.*;
import java.util.Date;

/**
 * 组织(部门)账单状态表
 * @author a
 */
@Entity
@Table(name = "saas_department_bill")
public class DepartmentBill {

    @Id
    @Basic
    @Column(name = "id", nullable = true)
    private Long id; //

    /**
     * 组织id
     */
    @Basic
    @Column(name = "dep_id", nullable = true)
    private Long depId; //

    /**
     * 账单优先扣款类型  ：1水费 2电费 3物业费 4宽带费 5电视费 6煤气费 7暖气费 8押金  9租金 10退租
     */
    @Basic
    @Column(name = "bill_status", nullable = true)
    private Integer billStatus;

    /**
     * 智能锁冻结账单类型：1水费 2电费 3物业费 4宽带费 5电视费 6煤气费 7暖气费 8押金  9租金 10退租
     */
    @Basic
    @Column(name = "smart_lock_status", nullable = true)
    private Integer smartLockStatus;

    /**
     * 创建时间
     */
    @Basic
    @Column(name = "create_time", nullable = true)
    private Date createTime;

    /**
     * 最后操作时间
     */
    @Basic
    @Column(name = "last_update_time", nullable = true)
    private Date lastUpdateTime;

    /**
     * 操作人
     */
    @Basic
    @Column(name = "operator_id", nullable = true)
    private String operatorId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDepId() {
        return depId;
    }

    public void setDepId(Long depId) {
        this.depId = depId;
    }

    public Integer getBillStatus() {
        return billStatus;
    }

    public void setBillStatus(Integer billStatus) {
        this.billStatus = billStatus;
    }

    public Integer getSmartLockStatus() {
        return smartLockStatus;
    }

    public void setSmartLockStatus(Integer smartLockStatus) {
        this.smartLockStatus = smartLockStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }
}
